/**
 * 获取小程序版本信息
 * 值有：develop(开发版) 、trial(体验版) 、release(正式版)
 */
const {
	miniProgram
} = wx.getAccountInfoSync()
const Version = miniProgram.envVersion || 'release'


const Envs = {
	develop: {
		host: 'https://sbbxgltest.oshainiu.cn',
	},
	trial: {
		host: 'https://sbbxgltest.oshainiu.cn',
	},
	release: {
		host: 'https://sbbxgl.oshainiu.cn',
	},
}

export const Env = Envs[Version]